package com.yangtao.prototype.system.user.service;

import java.util.List;

import com.yangtao.framework.constant.Option;
import com.yangtao.framework.web.BaseModel;
import com.yangtao.prototype.system.entity.SysUser;

public class UserModel extends BaseModel {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private SysUser domain;

	private String userRoles;

	private List<Option> unDistributeRoles;

	private List<Option> distributeRoles;

	public List<Option> getUnDistributeRoles() {
		return unDistributeRoles;
	}

	public void setUnDistributeRoles(List<Option> unDistributeRoles) {
		this.unDistributeRoles = unDistributeRoles;
	}

	public List<Option> getDistributeRoles() {
		return distributeRoles;
	}

	public void setDistributeRoles(List<Option> distributeRoles) {
		this.distributeRoles = distributeRoles;
	}

	public String getUserRoles() {
		return userRoles;
	}

	public void setUserRoles(String userRoles) {
		this.userRoles = userRoles;
	}

	public void setDomain(SysUser domain) {
		this.domain = domain;
	}

	@Override
	public SysUser getDomain() {
		if (domain == null)
			domain = new SysUser();
		return domain;
	}

	public UserModel() {
		super();
	}
}
